export default {
    props: {
        name: {
            type: String,
            default: '我哈'
        }
    },
    created() {
        console.log('mixins--created')
        let value = this.count(20) //400
        console.log(value)
        // console.log(JSON.stringify(this.zhuangbi))
    },
    data () {
        return {
            zhuangbi: {
                test1: 'test1',
                test2: 'test2',
                key1: 'testkey1',
            }
        }
    },
    methods: {
        count (val) {
            return val + val;
        }
    }
}
